﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IHISCETeim.BLL;
using IHISCETeim.Library;
using IHISCETeim.Model;
using System.Data;

namespace IHISCETeim.Web.MachineSys.WModel.ExportExcel
{
    public partial class ExportSendWPrdctShipLst : SendWPrdctShipLst
    {
        protected override Permission[] PowerKey
        {
            get
            {
                return new Permission[] { Permission.查看, Permission.导出 };
            }
        }
        protected override string DWZRef
        {
            get
            {
                return "SendWPrdctShipLst";
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind4();
           
        }
        protected void DataBind4()
        {
            
            this.ExploExplorrpMenurrpMenu.DataSource = WOWORTaskController.GetNeedSendItm(GetSqlWhere());
            this.ExploExplorrpMenurrpMenu.DataBind();
            this.ExportToExecl("发料清单导出"+DateTime.Now.ToString("yyyy-MM-dd"), this.ExploExplorrpMenurrpMenu);

        }
        
    }
}